package com.wz.utils.validated;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ParameterDTO {

    @NotNull
    private Long id;

    @NotBlank(message = "业务名称不能为空")
    private String name;
}
